home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetobjectinfo.h < prev    next >
C/C++ Source or Header  |  1996-07-11  |  963b  |  48 lines

  1. /*
  2.  *--- PGetObjectInfo.h ----------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:
  7.  *-------------------------------------------------------------------------
  8.  */
  9. #ifndef __PGetObjectInfo__
  10. #define __PGetObjectInfo__
  11.  
  12. #include "PListQuery.h"
  13.  
  14. class PGetObjectInfo : public PListQuery
  15. {
  16.  
  17. public:
  18.  
  19.     short    nDrawingNumber;
  20.     short    cTypeOfObject;
  21.     long    xLeftOrStart;
  22.     long    yTopOrStart;
  23.     long    xRightOrEnd;
  24.     long    yBottomOrEnd;
  25.     
  26. protected:
  27.  
  28.     PGetObjectInfo();
  29.     PGetObjectInfo(ePMQuery op);
  30.     virtual void Scan();
  31. };
  32.  
  33. template <ePMQuery QUERY>
  34. class PGetObj : public PGetObjectInfo
  35. {
  36.  
  37. public:
  38.  
  39.     PGetObj() : PGetObjectInfo(QUERY) { }
  40. };
  41.  
  42. typedef PGetObj<pm_getobjectlist>         PGetObjectList;
  43. typedef PGetObj<pm_getselectlist>        PGetSelectList;
  44.  
  45. #endif
  46.  
  47. // end of PGetObjectInfo.h
  48.